<template>
	<view class="content">
		<view class="borde-padd-24 ">
			<view class="flex-content" style="padding-top: 40rpx;">
				
				<image style="width: 600rpx;border-radius: 24rpx;margin-right: 20rpx;margin-bottom: 40rpx;" v-if="adviserInfo.cid==13" :src="adviserInfo.image_input" mode="widthFix"></image>
				
			</view>
			<view class="conter-list" >
				<view class="tirle" style="font-size: 32rpx;color: #0D0E0F;margin-bottom: 10rpx;text-align: center;">{{adviserInfo.title}}</view>
<!-- 				<view class="subInfo" style="font-size: 28rpx;color: #8F9294;margin-bottom: 20rpx;">{{adviserInfo.synopsis}}</view -->
			</view>
			<view class="conter-list">
				<view class="info" v-html="adviserInfo.content"></view>
			</view>
		</view>
		<footerTer :active="1"></footerTer>
		
	</view>
</template>

<script>
	// specialistDetail
	import footerTer from "../../components/footer.vue"
	
	import {
		Request
	} from '@/utils/request.js'
	export default {
		components:{
			footerTer
		},
		
		data(){
			return {
				adviserInfo:{},
				id:'',
			}
		},
		onLoad({id}) {
			this.id=id;
			this.getspecialistDetail()
		},
		methods:{
			getspecialistDetail(){
				Request("specialistDetail",{
					id:this.id
				}).then((res)=>{
					this.adviserInfo=res;
				})
			}
		}
	}
</script>

<style scoped>
	.conter-list{
		width: 702rpx;
		background: #FFFFFF;
		padding: 32rpx;
		box-sizing: border-box;
		margin-bottom: 32rpx;
		border-radius: 24rpx 24rpx 24rpx 24rpx;
	}
	.info{
		font-family: PingFang SC, PingFang SC;
		font-weight: 400;
		font-size: 28rpx;
		color: #646669;
		line-height: 44rpx;
		font-style: normal;
		text-transform: none;
	}
	img[v-html] {
	  width: 100%;
	  height: auto; /* 保持宽高比 */
	}
	.info >>> img {
		width: 100%;
		
	}
</style>